#ifndef CONTRACTORSECTIONMODEL_H
#define CONTRACTORSECTIONMODEL_H

#include "standard-database-model.h"

class ContractorSectionModel : public StandardDatabaseModel
{
    Q_OBJECT
public:
    explicit ContractorSectionModel(QObject *parent = 0);

    enum ContractorSectionColumns
    {
        NameColumn,
        NipColumn,
        RegonColumn,
        StreetColumn,
        PostalCodeColumn,
        CityColumn,
        TelephoneColumn
    };

    ValueResult *canSetField(QVariant value, int column, int row);
    ValueResult *canSetRow(QVariantList dataList, int row);

public slots:
    void initialize();
};

#endif // CONTRACTORSECTIONMODEL_H
